﻿using System;
using UnityEngine;

namespace IQIGame.Onigao.GameAOT
{
    public enum HUDAlignType
    {
        align_left,   // 左对齐
        align_center, // 右对齐
        align_right,  // 居中
    };
    
    [Serializable]
    public class HUDNumberSetting
    {
        public AnimationCurve AlphaCurve;
        public AnimationCurve ScaleCurve;
        public AnimationCurve MoveXCurve;
        public AnimationCurve MoveYCurve;

        public Vector2 MoveOffset; // 位移

        public int OffsetX;    // X偏移
        public int OffsetY;    // Y偏移
        
        public int SpriteGap; // 图片间隔
        
        public bool ScreenAlign = false; // 是不是按屏幕对齐
        public HUDAlignType ScreenAlignType = HUDAlignType.align_center;
        public HUDAlignType AlignType = HUDAlignType.align_center;

        public string SpriteName;
        public bool ShowNumber;
    }
    
    
    public enum NumSpriteType
    {
        Medium = 0,
        Bold = 1,

        Max,
    }
}